package it.gma.torero.parsing.token;

import it.gma.torero.parsing.Tokenizer.ReturnType;

public abstract class Operator extends Token {

	public enum Cardinality {
		BYNARY, UNARY
	}
	
	Operator(String sequence) {
		super(sequence);
	}

	@Override
	public Token.Type getType() {
		return Type.OPERATOR;
	}
	
	public abstract Operator.Cardinality getCardinality();
	

	public abstract ReturnType getOperandType();
	
	
	public abstract boolean hasOperands();
}